checkout: don't apply SELinux labeling in user mode
authorJonathan Lebon <jlebon@redhat.com>
Fri, 2 Jun 2017 14:06:50 +0000 (10:06 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 2 Jun 2017 17:46:16 +0000 (17:46 +0000)
commit3ec2b5773ea1553a70c362c25574978b7bbc932a
tree21f98dd7e7aa27c8755eb6e56f59c0b6d8cadf7e
parentc651982929ec142d107e87d9f32ca324dffd4772
checkout: don't apply SELinux labeling in user mode

If the user requested a user checkout, we don't want to set the SELinux
label xattr.

Closes: #903
Approved by: cgwalters
src/libostree/ostree-repo-checkout.c